package com.mzj.saas.jobs.bill.entity;

import com.mzj.saas.jobs.commons.IdEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * 余额延期记录
 */
@Entity
@Table(name = "saas_house_remaining_postpone")
public class HouseRemainingPostpone extends IdEntity {

    /**
     * 余额id
     */
    @Basic
    @Column(name = "remaining_id", nullable = true)
    private Long remainingId;

    /**
     * 延期id
     */
    @Basic
    @Column(name = "postpone_id", nullable = true)
    private Long postponeId;

    /**
     *  延期状态 0延期 1取消延期
     */
    @Basic
    @Column(name = "postpone_type", nullable = true)
    private Integer postponeType;

    /**
     *  操作人
     */
    @Basic
    @Column(name = "operator_id", nullable = true)
    private String operatorId;

    /**
     *  操作时间
     */
    @Basic
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    /**
     *  操作原因
     */
    @Basic
    @Column(name = "cause", nullable = true)
    private String cause;

    /**
     *  延期开始时间
     */
    @Basic
    @Column(name = "deferred_start_time", nullable = true)
    private Date deferredStartTime;

    /**
     *  延期结束时间
     */
    @Basic
    @Column(name = "deferred_end_time", nullable = true)
    private Date deferredEndTime;

    /**
     *  取消状态 0未取消 1已取消
     */
    @Basic
    @Column(name = "cancel_status", nullable = true)
    private Integer cancelStatus;

    public Long getPostponeId() {
        return postponeId;
    }

    public void setPostponeId(Long postponeId) {
        this.postponeId = postponeId;
    }
    public Integer getCancelStatus() {
        return cancelStatus;
    }

    public void setCancelStatus(Integer cancelStatus) {
        this.cancelStatus = cancelStatus;
    }

    public Long getRemainingId() {
        return remainingId;
    }

    public void setRemainingId(Long remainingId) {
        this.remainingId = remainingId;
    }

    public Integer getPostponeType() {
        return postponeType;
    }

    public void setPostponeType(Integer postponeType) {
        this.postponeType = postponeType;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public Date getDeferredStartTime() {
        return deferredStartTime;
    }

    public void setDeferredStartTime(Date deferredStartTime) {
        this.deferredStartTime = deferredStartTime;
    }

    public Date getDeferredEndTime() {
        return deferredEndTime;
    }

    public void setDeferredEndTime(Date deferredEndTime) {
        this.deferredEndTime = deferredEndTime;
    }
}
